<html>
<head th:include="/views/mobile/partial/head"></head>

<body>

    <section th:replace="/views/mobile/partial/header(title='资讯')"></section>

    <section th:replace="/views/mobile/partial/cover"></section>

  <div class="wrap-container">
    <section th:replace="/views/mobile/partial/nav"></section>

    <section th:replace="/views/mobile/partial/info_container"></section>


    <section th:replace="/views/mobile/partial/toTop"></section>
  </div>
    
    <!-- dilog model end -->
  <script th:replace="/views/mobile/partial/script"></script>



<script type="text/javascript">
  var pageNo = 1;
  var targetUrl = "/faxsun-info/news/news-json";
  var postJson = {};
  $(function(){
        set_cover_toggle();
        hideOrShowTotop();
        init_nav();

        $(".info-summary-container span.summary").each(function(i,val){
              $(val).html($(val).html().replace(/&nbsp;/gi,''));
        });
        
        if($(".swiper-wrapper > .swiper-slide >a.selected").size()){

            var tagIds = $(".swiper-wrapper > .swiper-slide >a.selected").attr("href").split("=")[1];
            postJson.tagIds =  tagIds;
            targetUrl = "/faxsun-info/news/json";
        }
        $(window).scroll(function() {
           if($(window).scrollTop() + $(window).height() > $(document).height() - 100) {
            
                pageNo++;
                postJson.pagNo =  pageNo;
                $.ajax({     
                    url: targetUrl,     
                    type:'post',     
                    data: postJson,     
                    error:function(){     
                       alert('error');     
                    },     
                    success:function(data){  
                        var jsonData =  $.parseJSON(data);
                        loadMoreInfos(jsonData);
                    }  
                });
           }
        });
  });

</script>

</body>
</html>